<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-cloudCpe-edit" th:object="${cloudCpe}">
            <input id="cpeId" name="cpeId" th:field="*{cpeId}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">企业名称：</label>
                <div class="col-sm-8">
                    <input id="deptId" name="deptId" th:field="*{deptId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">CPE名称：</label>
                <div class="col-sm-8">
                    <input id="cpeName" name="cpeName" th:field="*{cpeName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">SN号：</label>
                <div class="col-sm-8">
                    <input id="sn" name="sn" th:field="*{sn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">系统：</label>
                <div class="col-sm-8">
                    <input id="os" name="os" th:field="*{os}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">型号：</label>
                <div class="col-sm-8">
                    <input id="model" name="model" th:field="*{model}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">Agent版本：</label>
                <div class="col-sm-8">
                    <input id="agentVersion" name="agentVersion" th:field="*{agentVersion}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">状态：</label>
                <div class="col-sm-8">
                    <input id="status" name="status" th:field="*{status}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">最近在线时间：</label>
                <div class="col-sm-8">
                    <input id="onlineTime" name="onlineTime" th:field="*{onlineTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">Internet(Kpbs)：</label>
                <div class="col-sm-8">
                    <input id="qosInternet" name="qosInternet" th:field="*{qosInternet}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">Pop(Kpbs)：</label>
                <div class="col-sm-8">
                    <input id="qosPop" name="qosPop" th:field="*{qosPop}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">SSID1：</label>
                <div class="col-sm-8">
                    <input id="wifiSsid1" name="wifiSsid1" th:field="*{wifiSsid1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">带宽1：</label>
                <div class="col-sm-8">
                    <input id="wifiBrandwidth1" name="wifiBrandwidth1" th:field="*{wifiBrandwidth1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">SSID2：</label>
                <div class="col-sm-8">
                    <input id="wifiSsid2" name="wifiSsid2" th:field="*{wifiSsid2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">带宽2：</label>
                <div class="col-sm-8">
                    <input id="wifiBrandwidth2" name="wifiBrandwidth2" th:field="*{wifiBrandwidth2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">创建者：</label>
                <div class="col-sm-8">
                    <input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">创建时间：</label>
                <div class="col-sm-8">
                    <input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">更新者：</label>
                <div class="col-sm-8">
                    <input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">更新时间：</label>
                <div class="col-sm-8">
                    <input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
                </div>
            </div>
			<div class="form-group">
				<div class="form-control-static col-sm-offset-9">
					<button type="submit" class="btn btn-primary">提交</button>
					<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/cloudCpe"
		$("#form-cloudCpe-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			submitHandler: function(form) {
				$.operate.save(prefix + "/save", $('#form-cloudCpe-edit').serialize());
			}
		});
	</script>
</body>
</html>
